//
//  DLList.h
//  
//
//  Created by Quoc Dung Chu on 22/09/11.
//  Copyright 2011 Paris 6. All rights reserved.
//

#ifndef _DLList_h
#define _DLList_h

#include "DLCollection.h"

namespace dlab {
    namespace core {
        
        template <class T>
        class CNode
        {
        protected:
            T                   _element;
            CNode<T> *         _previous;
            CNode<T> *         _next;

        protected:
            CNode(){}
            CNode (T element):_element(element){}
            virtual ~ CNode(){}
            
            
        };
        
        template <class T>
        class CList: public CCollection<T>
        {
        public:
            CList(){}
            virtual ~ CList(){}
        };
    }
}



#endif
